package com.cong.security;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 项目启动类
 *
 * @Author single-聪
 * @Date 2020/1/6 15:08
 * @Version 1.0.1
 **/
@Configuration
@EnableAutoConfiguration(exclude = {UserDetailsServiceAutoConfiguration.class})
@ComponentScan("com.cong.security")
@MapperScan("com.cong.security.mapper")
public class APP {

    public static void main(String[] args) {
        SpringApplication.run(APP.class, args);
    }


}
